package com.itheima.包装类;

public class MyIntegerDemo1 {

    public static void main(String[] args) {
        Integer i1=new Integer(100);
        Integer i2=new Integer("100");
        System.out.println(i1);
        System.out.println(i2);

        Integer i3=Integer.valueOf(100);
        System.out.println(i3);
        Integer i4=Integer.valueOf("100");
        System.out.println(i4);
        Integer i5=10;      //自动装箱底层自动生成Integer.valueOf
        System.out.println(i5);


    }
}
